#ifndef EXECUTE_STATEMENT_H
#define EXECUTE_STATEMENT_H
#include "table.h"
#include "node.h"
#include "prepare_statement.h"
typedef enum
{
    EXECUTE_SUCCESS,
    EXECUTE_TABLE_FULL,
    EXECUTE_DUPLICATE_KEY ,//key重复 

} ExecuteResult;

ExecuteResult excute_statement(Statement *statement, Table *table);
ExecuteResult execute_insert(Statement *statement, Table *table);
ExecuteResult execute_select(Statement *statement, Table *table);
#endif